<?php

/**
 * setup for the unit-test suite
 *
 * @author vbolshov
 */

if (is_file(dirname(__FILE__) . '/.setup.override.php'))
{
	include dirname(__FILE__) . '/.setup.override.php';
}

if (empty($settings))
{
	$settings = array();
}

$overriden_settings = $settings;

$settings = array(
	'db' => array(
		'dsn' => 'mysql:dbname=test',
		'username' => 'root',
		'password' => '',
	),
);

$settings = array_merge($settings, $overriden_settings);